NET_SDK_ALARMINFO_EX
Structure Definition
Function Description
Alarm information structure.
Member Description
| Member | Type | Remark |
| dwAlarmType | DWORD | For alarm type, refer to NET_SDK_N9000_ALARM_TYPE. |
| dwSensorIn | DWORD | Sensor alarm input port number. |
| dwChannel | DWORD | When the alarm is related to the channel, the channel number of the alarm is indicated, starting from 0, and when it is related to the door lock and door magnet, the number is indicated, both starting from 1. |
| dwDisk | DWORD | In case of disk alarm, it indicates the disk number that generates the alarm. |
| sensorName | char[36] | In case of sensor alarm, the name of the sensor. |
| alarmTime | char[20] | Alarm trigger time. |
| status | unsigned int | The status value, generally 1, indicates that the alarm is triggered, 0 means that the alarm disappears, and dwAlarmType is NET_SDK_N9000_ALARM_TYPE_DOORCONTACT_STATUS, NET_SDK_N9000_ALARM_TYPE_DOORLOCK_STATUS indicates the status value. |
| resv | char[124] | Reserved field. |